package com.cloudpolice.door.feignInterface.hystric;

import com.cloudpolice.door.feignInterface.MainSubUseInterFace;
import lh.model.ResultVO;
import lh.units.ResultStruct;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：梁昊，后端工程师：卢春龙，前端工程师：鲁俊
 * @create 2020-04-24 12:57
 * @function
 * @editLog
 */
@Service
public class MainSubUseInterFaceHystric implements MainSubUseInterFace {
    private final String hystricMessage = "亲，服务器正忙，请稍后再戳。";

    @Override
    public ResultVO selectMainSubUseById(@RequestParam(value = "id") String id) {
        return ResultStruct.error(hystricMessage, ResultVO.class, null);
    }
}

